{"ast":null,"code":"import { configure } from \"mobx\";\nexport function defaultNoopBatch(callback) {\n  callback();\n}\nexport function observerBatching(reactionScheduler) {\n  if (!reactionScheduler) {\n    reactionScheduler = defaultNoopBatch;\n    if (\"production\" !== process.env.NODE_ENV) {\n      console.warn(\"[MobX] Failed to get unstable_batched updates from react-dom / react-native\");\n    }\n  }\n  configure({\n    reactionScheduler: reactionScheduler\n  });\n}\nexport var isObserverBatched = function isObserverBatched() {\n  if (\"production\" !== process.env.NODE_ENV) {\n    console.warn(\"[MobX] Deprecated\");\n  }\n  return true;\n};","map":{"version":3,"mappings":"AAAA,SAASA,SAAS,QAAQ,MAAM;AAEhC,OAAM,SAAUC,gBAAgB,CAACC,QAAoB;EACjDA,QAAQ,EAAE;AACd;AAEA,OAAM,SAAUC,gBAAgB,CAACC,iBAAsB;EACnD,IAAI,CAACA,iBAAiB,EAAE;IACpBA,iBAAiB,GAAGH,gBAAgB;IACpC,IAAI,YAAY,KAAKI,OAAO,CAACC,GAAG,CAACC,QAAQ,EAAE;MACvCC,OAAO,CAACC,IAAI,CACR,6EAA6E,CAChF;;;EAGTT,SAAS,CAAC;IAAEI,iBAAiB;EAAA,CAAE,CAAC;AACpC;AAEA,OAAO,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiB,GAAG;EAC7B,IAAI,YAAY,KAAKL,OAAO,CAACC,GAAG,CAACC,QAAQ,EAAE;IACvCC,OAAO,CAACC,IAAI,CAAC,mBAAmB,CAAC;;EAGrC,OAAO,IAAI;AACf,CAAC","names":["configure","defaultNoopBatch","callback","observerBatching","reactionScheduler","process","env","NODE_ENV","console","warn","isObserverBatched"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/mobx-react-lite/src/utils/observerBatching.ts"],"sourcesContent":["import { configure } from \"mobx\"\n\nexport function defaultNoopBatch(callback: () => void) {\n    callback()\n}\n\nexport function observerBatching(reactionScheduler: any) {\n    if (!reactionScheduler) {\n        reactionScheduler = defaultNoopBatch\n        if (\"production\" !== process.env.NODE_ENV) {\n            console.warn(\n                \"[MobX] Failed to get unstable_batched updates from react-dom / react-native\"\n            )\n        }\n    }\n    configure({ reactionScheduler })\n}\n\nexport const isObserverBatched = () => {\n    if (\"production\" !== process.env.NODE_ENV) {\n        console.warn(\"[MobX] Deprecated\")\n    }\n\n    return true\n}\n"]},"metadata":{},"sourceType":"module"}